{include file="public/header"/}
{include file="public/left"/}
      
    <div class="content">
        <div class="crumbs clr">系统管理 <span class="red">> 用户管理</span> <span class="red">> 查看详情</span></div>
        <div class="whiteBox">
          <p class="tittle">查看详情</p>
          <table class="addTab mb20">
            <tr>
              <td>用户名称：</td>
              <td>{$list.user_name|default=''}</td>
            </tr>
            <tr>
              <td>真实姓名：</td>
              <td>{$list.real_name|default=''}</td>
            </tr>
            <tr>
              <td>性　　别：</td>
              <td>
                  {if isset($list['sex']) &&  $list['sex'] eq 1 }
                    男
                {elseif isset($list['sex']) &&  $list['is_admin'] eq 2}
                    女
                {/if}
              </td>
            </tr>
            <tr>
              <td>权　　重：</td>
              <td>{$list.weight|default=''}</td>
            </tr>
            <tr>
              <td>出生日期：</td>
              <td>
{if isset($list['date_birth']) && $list['date_birth'] neq 0 }{$list.date_birth|date='Y-m-d',###}{/if}
              </td>
            </tr>
            <tr>
              <td>联系电话：</td>
              <td>{$list.phone|default=''}</td>
            </tr>
            <tr>
              <td>邮　　箱：</td>
              <td>{$list.email|default=''}</td>
            </tr>
            <tr>
              <td>选择角色：</td>
              <td>
               {$list.rolename|default=''}
              </td>
            </tr>
            <tr>
              <td>是否管理员：</td>
              <td>
                {if isset($list['is_admin']) &&  $list['is_admin'] eq 1 }
                    是
                {elseif isset($list['is_admin']) &&  $list['is_admin'] eq 2}
                    否
                {/if}
              </td>
            </tr>
            <tr>
              <td></td>
              <td align="right"><span class="greyBtn return">返回</span></td>
            </tr>
          </table>
        </div>
        
    </div>

    {include file="public/footer"/}
</div>
<script type="text/javascript">
</script>
</body>
</html>
    